$intValue = Math.IntDigit
("<num>")
Returns the integer portion of the given floating point number.
Parameters
<num> The floating point number from which integer part is to be extracted.
Return Value
Remarks
- Operates in a similar way to the NumberFix function, except that if num is negative, IntDigit returns the first negative number less than or equal to num.
- Similar to the Int function in VB Script.
Example
$ret = Math.IntDigit ("-10.2")